// pages/demo/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    name: '',
    gender: '',
    hobby: [],
    Region: [],
    birthday: ''
  },
  changeName(e) {
    console.log(e);
    this.setData({
      name: e.detail.value
    })
  },
  changeGender(e) {
    console.log(e);
    this.setData({
      gender: e.detail.value
    })
  },
  changeHobby(e) {
    console.log(e);
    this.setData({
      hobby: e.detail.value
    })
  },
  bindRegionChange(e) {
    this.setData({
      Region: e.detail.value
    })
  },
  bindDateChange(e) {
    this.setData({
      birthday: e.detail.value
    })
  },
  submit() {
    console.log(this.data.name, this.data.gender, this.data.hobby, this.data.Region,this.data.birthday);
  }
})